package models

import (
	"time"
)

type Currency struct {
	Id int64 `xorm:"oid"`

	Name             string    `json:"Name" xorm:"not null VARCHAR(50)"`
	Currencycode     string    `json:"CurrencyCode" xorm:"not null VARCHAR(5)"`
	Rate             string    `json:"Rate" xorm:"not null NUMERIC"`
	Displaylocale    string    `json:"DisplayLocale" xorm:"VARCHAR(50)"`
	Customformatting string    `json:"CustomFormatting" xorm:"VARCHAR(50)"`
	Limitedtostores  int       `json:"LimitedToStores" xorm:"not null BIT(1)"`
	Published        int       `json:"Published" xorm:"not null BIT(1)"`
	Displayorder     int       `json:"DisplayOrder" xorm:"not null INTEGER"`
	Createdonutc     time.Time `json:"CreatedOnUtc" xorm:"not null DATETIME"`
	Updatedonutc     time.Time `json:"UpdatedOnUtc" xorm:"not null DATETIME"`
}
